object FormAuditoria: TFormAuditoria
  Tag = 7
  Left = 248
  Top = 215
  Width = 816
  Height = 500
  Caption = 'Auditoria'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poDesktopCenter
  Visible = True
  OnClose = FormClose
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 808
    Height = 54
    Align = alTop
    TabOrder = 0
    object Label1: TLabel
      Left = 8
      Top = 8
      Width = 27
      Height = 13
      Caption = 'In'#237'cio'
    end
    object Label2: TLabel
      Left = 104
      Top = 8
      Width = 16
      Height = 13
      Caption = 'Fim'
    end
    object Label3: TLabel
      Left = 200
      Top = 8
      Width = 36
      Height = 13
      Caption = 'Usu'#225'rio'
    end
    object ComboBox1: TComboBox
      Left = 200
      Top = 24
      Width = 145
      Height = 21
      ItemHeight = 13
      ItemIndex = 0
      TabOrder = 0
      Text = 'Todos'
      Items.Strings = (
        'Todos')
    end
    object BitBtn1: TBitBtn
      Left = 352
      Top = 21
      Width = 75
      Height = 25
      TabOrder = 1
      OnClick = BitBtn1Click
      Kind = bkOK
    end
    object BitBtn2: TBitBtn
      Left = 432
      Top = 21
      Width = 75
      Height = 25
      Caption = 'Imprimir'
      ModalResult = 1
      TabOrder = 2
      OnClick = BitBtn2Click
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00300000000000
        0003377777777777777308888888888888807F33333333333337088888888888
        88807FFFFFFFFFFFFFF7000000000000000077777777777777770F8F8F8F8F8F
        8F807F333333333333F708F8F8F8F8F8F9F07F333333333337370F8F8F8F8F8F
        8F807FFFFFFFFFFFFFF7000000000000000077777777777777773330FFFFFFFF
        03333337F3FFFF3F7F333330F0000F0F03333337F77773737F333330FFFFFFFF
        03333337F3FF3FFF7F333330F00F000003333337F773777773333330FFFF0FF0
        33333337F3F37F3733333330F08F0F0333333337F7337F7333333330FFFF0033
        33333337FFFF7733333333300000033333333337777773333333}
      NumGlyphs = 2
    end
    object dxDateEdit1: TdxDateEdit
      Left = 8
      Top = 24
      Width = 89
      TabOrder = 3
      Date = -700000.000000000000000000
    end
    object dxDateEdit2: TdxDateEdit
      Left = 104
      Top = 24
      Width = 89
      TabOrder = 4
      Date = -700000.000000000000000000
    end
  end
  object dxDBGrid1: TdxDBGrid
    Left = 0
    Top = 54
    Width = 808
    Height = 419
    Bands = <
      item
      end>
    DefaultLayout = True
    HeaderPanelRowCount = 1
    SummaryGroups = <>
    SummarySeparator = ', '
    Align = alClient
    TabOrder = 1
    DataSource = dsAuditoria
    Filter.Criteria = {00000000}
    object dxDBGrid1LOG_MOMENTO: TdxDBGridDateColumn
      Width = 112
      BandIndex = 0
      RowIndex = 0
      FieldName = 'LOG_MOMENTO'
    end
    object dxDBGrid1USUARIO_LOGIN: TdxDBGridMaskColumn
      BandIndex = 0
      RowIndex = 0
      FieldName = 'USUARIO_LOGIN'
    end
    object dxDBGrid1LOG_ACAO: TdxDBGridMemoColumn
      Width = 370
      BandIndex = 0
      RowIndex = 0
      FieldName = 'LOG_ACAO'
    end
    object dxDBGrid1MENU_TITULO: TdxDBGridMaskColumn
      Width = 115
      BandIndex = 0
      RowIndex = 0
      FieldName = 'MENU_TITULO'
    end
    object dxDBGrid1JLOG_ESTACAO: TdxDBGridMaskColumn
      Width = 124
      BandIndex = 0
      RowIndex = 0
      FieldName = 'JLOG_ESTACAO'
    end
    object dxDBGrid1MENU_CODIGO: TdxDBGridMaskColumn
      Visible = False
      Width = 77
      BandIndex = 0
      RowIndex = 0
      FieldName = 'MENU_CODIGO'
    end
  end
  object dsAuditoria: TDataSource
    DataSet = qryAuditoria
    Left = 184
    Top = 168
  end
  object qryAuditoria: TADOQuery
    Connection = FormPrincipal.cnRegente
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      
        'SELECT L.*, ISNULL(M.MENU_TITULO,'#39'INICIAL'#39')  AS MENU_TITULO FROM' +
        ' JLOG L'
      'LEFT JOIN MENU  M ON (M.MENU_CODIGO=L.MENU_CODIGO)'
      'WHERE L.MENU_CODIGO IS NOT NULL'
      'ORDER BY LOG_MOMENTO DESC')
    Left = 160
    Top = 128
    object qryAuditoriaLOG_MOMENTO: TDateTimeField
      DisplayLabel = 'Data/Hora'
      FieldName = 'LOG_MOMENTO'
      EditMask = '!99/99/9999 99:99:99;1; '
    end
    object qryAuditoriaUSUARIO_LOGIN: TStringField
      DisplayLabel = 'Usu'#225'rio'
      FieldName = 'USUARIO_LOGIN'
      Size = 10
    end
    object qryAuditoriaJLOG_ESTACAO: TStringField
      DisplayLabel = 'Computador'
      FieldName = 'JLOG_ESTACAO'
    end
    object qryAuditoriaMENU_CODIGO: TSmallintField
      FieldName = 'MENU_CODIGO'
    end
    object qryAuditoriaMENU_TITULO: TStringField
      DisplayLabel = 'Tela'
      FieldName = 'MENU_TITULO'
      Size = 80
    end
    object qryAuditoriaLOG_ACAO: TMemoField
      DisplayLabel = 'A'#231#227'o executada'
      FieldName = 'LOG_ACAO'
      BlobType = ftMemo
    end
  end
end
